<?php

namespace app\common\model;

use think\Model;

/**
 * 回调
 */

class Callback Extends Model
{
  function __invoke($error,$result){
    if($error) throw $error;
    $this->result = $result;
  }
}